﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AfficherHolo;
using System.Threading;

namespace HoloPenX {
    class Program {
        [STAThread]
        static void Main(string[] args) {
            //Console.WriteLine("TFS TEST");
            //Console.ReadKey();
            MainWindow m;
            if (args.Length >= 2)
            {
                m = new MainWindow(new Uri(args[1]);
            }
            else {
                m = new MainWindow(new Uri(@"D:\Image\propre travail\ressource pack minecraft\Ressource pack commun\Soartex\assets\minecraft\textures\blocks\grass_side.png"));
            }
            m.Focusable = true;
            m.Focus();
            m.Activate();
            m.ShowDialog();
            //Console.Read();
        }
    }
}
